{
	"definitions": [//Dyes: Black=0 Red =1 Green=2 Brown=3 Blue=4 Purple=5 UNU=6 Silver=7 Grey=8 Pink=9 Lime=10 Yellow=11 Light Blue=12 Magenta=13 Orange=14 White=15
		{
			"name": "Bjorn's Customs: Wagon Rim",
			"subName": "",
			"extraMaterialLists": [
				[],
				[]
			]
		},
                {
			"name": "Bjorn's Customs: Rusted Wagon Rim",
			"subName": "_rusted",
			"extraMaterialLists": [
				[],
				[]
			]
		},
                {
			"name": "Bjorn's Customs: Black Wagon Rim",
			"subName": "_black",
			"extraMaterialLists": [
				[],
				[]
			]
		},
                {
			"name": "Bjorn's Customs: Darken Gray Wagon Rim",
			"subName": "_gray",
			"extraMaterialLists": [
				[],
				[]
			]
		},
                {
			"name": "Bjorn's Customs: Red Wagon Rim",
			"subName": "_red",
			"extraMaterialLists": [
				[],
				[]
			]
		}
	],
	
	"general": {
		"stackSize": 4,
		"oreDict": "wheelStandard",
		"materialLists": [
			["immersiveengineering:metal:38:2", "ore:tireStandard:0:1"],
			["minecraft:iron_ingot:0:2", "ore:tireStandard:0:1"]
		]
	},

    "generic": {
		"type": "ground_wheel",
		"movementAnimations": [
			{
				"animationType": "rotation",
				"centerPoint": [0, 0, 0],
				"axis": [1, 0, 0],
				"variable": "ground_rotation"
			}
		]
	},
	
	"ground": {
		"isWheel": true,
		"height": 0.875,
		"width": 0.25,
		"motiveFriction": 0.75,
		"lateralFriction": 0.75//,
		//"flatHeight": 0.5
	},
	
	"subParts": [
		{
			"pos": [0.0175, 0.0, 0.0],
			"types": ["generic_snowchains"],
			"customTypes": ["unu_standard"],
			"minValue": 0.875,
			"maxValue": 0.875,
			"interactableVariables": [["part_present_2"], ["!onTireMachine"]]
		},
		{
			"pos": [0.15625, 0.0, 0.0],
			"allowParentRemoval": true,
			"types": ["generic_unu_tire"],
			"customTypes": ["unu_standard"],
			"defaultPart": "unuparts:unuparts_part_unu_tire_standard_blackwall",
			"minValue": 0.875,
			"maxValue": 0.875,
			"interactableVariables": [["onTireMachine"]]
		}
	],
	
	"rendering": {
		"constants": ["unuisbest"],
		"animatedObjects": [],
		"sounds": [
			{
				"name": "unuparts:unuparts_sound_unu_tire_standard_exterior",
				"activeAnimations": [
					{
						"animationType": "visibility",
						"variable": "ground_isflat",
						"clampMin": 0,
						"clampMax": 0
					},
					{
						"animationType": "visibility",
						"variable": "speed_scaled",
						"clampMin": 0.05,
						"clampMax": 999
					}
				],
				"volumeAnimations": [
					{
						"animationType": "translation",
						"variable": "speed_scaled",
						"axis": [0, 0.005, 0],
						"offset": 0
					}
				],
				"pitchAnimations": [
					{
						"animationType": "translation",
						"variable": "speed_scaled",
						"axis": [0, 0.01, 0],
						"offset": 1.0,
						"clampMin": 0,
						"clampMax": 1.5
					}
				],
				"looping": true
			},
			{
				"name": "unuparts:unuparts_sound_unu_tire_standard_skid",
				"activeAnimations": [
					{
						"animationType": "visibility",
						"variable": "ground_isflat",
						"clampMin": 0,
						"clampMax": 0
					},
					{
						"animationType": "visibility",
						"variable": "ground_slipping",
						"clampMin": 1,
						"clampMax": 1
					}
				],
				"volumeAnimations": [
					{
						"animationType": "translation",
						"variable": "speed_scaled",
						"axis": [0, 0.1, 0],
						"offset": 0
					}
				],
				"pitchAnimations": [
					{
						"animationType": "translation",
						"variable": "speed_scaled",
						"axis": [0, 0.01, 0],
						"offset": 1.0,
						"clampMin": 0,
						"clampMax": 1.5
					}
				],
				"looping": true
			},
			{
				"name": "unuparts:unuparts_sound_unu_tire_standard_skid",
				"activeAnimations": [
					{
						"animationType": "visibility",
						"variable": "ground_striking",
						"clampMin": 1,
						"clampMax": 1
					}
				],
				"volumeAnimations": [
					{
						"animationType": "translation",
						"variable": "speed_scaled",
						"axis": [0, 0.1, 0],
						"offset": 0
					}
				],
				"pitchAnimations": [
					{
						"animationType": "translation",
						"variable": "speed_scaled",
						"axis": [0, 0.01, 0],
						"offset": 1.0,
						"clampMin": 0,
						"clampMax": 1.5
					}
				]
			},
			{
				"name": "unuparts:unuparts_sound_unu_tire_standard_pop",
				"activeAnimations": [
					{
						"animationType": "visibility",
						"variable": "ground_isflat",
						"clampMin": 1,
						"clampMax": 1
					}
				]
			},
			{
				"name": "unuparts:unuparts_sound_unu_tire_standard_rim",
				"activeAnimations": [
					{
						"animationType": "visibility",
						"variable": "ground_isflat",
						"clampMin": 1,
						"clampMax": 1
					},
					{
						"animationType": "visibility",
						"variable": "speed_scaled",
						"clampMin": 0.05,
						"clampMax": 999
					}
				],
				"volumeAnimations": [
					{
						"animationType": "translation",
						"variable": "speed_scaled",
						"axis": [0, 0.05, 0],
						"offset": 0
					},
					{
						"animationType": "translation",
						"variable": "ground_skidding",
						"axis": [0, 1, 0],
						"offset": 0
					}
				],
				"pitchAnimations": [
					{
						"animationType": "translation",
						"variable": "speed_scaled",
						"axis": [0, 0.01, 0],
						"offset": 1.0,
						"clampMin": 0,
						"clampMax": 1.5
					}
				],
				"looping": true
			}
		]
	},
	
	"variableModifiers": [
		{
			"variable": "height",
			"animations": [
				{
					"animationType": "translation",
					"variable": "unuisbest",
					"axis": [0, 0, 0.5]
				},
				{
					"animationType": "translation",
					"variable": "part_tireprofile_2",
					"axis": [0, 2, 0]
				}
			]
		},
		{
			"variable": "motiveFriction",
			"animations": [
				{
					"animationType": "translation",
					"variable": "part_motiveFriction_2",
					"axis": [0, 0, 1]
				},
				{
					"animationType": "translation",
					"variable": "part_present_1",
					"axis": [0, 0.25, 0]
				}
			]
		},
		{
			"variable": "lateralFriction",
			"animations": [
				{
					"animationType": "translation",
					"variable": "part_lateralFriction_2",
					"axis": [0, 0, 1]
				},
				{
					"animationType": "translation",
					"variable": "part_present_1",
					"axis": [0, 0.25, 0]
				}
			]
		}
	]
}
